const express = require('express')
const path = require('path')
const app = express()

// 静态资源访问服务功能
app.use(express.static(path.join(__dirname, 'public')))

// a5
app.get('/first', (req, res) => {
  res.send('hello ajax')
})
app.listen(3009)
console.log('服务器启动成功')
